package com.cheng.example.test.test01;


import java.io.Serializable;

public class Student implements Cloneable, Serializable {

    public String name = "zhangsan";

    private Student() {

    }

    public Student(String name) {
        this.name = name;
        System.out.println("no parameter");
    }

    @Override
    public Student clone() throws CloneNotSupportedException {
        Object object = super.clone();
        return (Student) object;
    }
}
